package cn.koala.key.firstmaintain.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 拒绝借用单
 *
 * @author liutao
 * @date 2021/2/1
 */
@ApiModel(value = "拒绝借用单对象")
public class FirstMaintainCardBorrowOrderRefuseVO {
    @NotEmpty(message = "借用单号不能为空")
    @ApiModelProperty(value = "借用单号",required = true)
    private String orderNo;
    /**
     * 拒绝原因
     */
    @NotEmpty(message = "拒绝原因不能为空")
    @ApiModelProperty(value = "拒绝原因",required = true)
    private String refuseNote;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getRefuseNote() {
        return refuseNote;
    }

    public void setRefuseNote(String refuseNote) {
        this.refuseNote = refuseNote;
    }

    @Override
    public String toString() {
        return "FirstMaintainCardBorrowOrderRefuseVO{" +
                "orderNo='" + orderNo + '\'' +
                ", refuseNote='" + refuseNote + '\'' +
                '}';
    }
}
